package com.example.sys.org.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.example.core.enums.SysEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SysLevelEnums implements SysEnum {

    HIGH("高中", "1"), JUNIOR("大专", "2"), COURSE("本科", "3"), POSTGRADUATE("研究生", "4");

    private String label;

    @EnumValue
    private String value;

    @Override
    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    SysLevelEnums(String label, String value) {
        this.label = label;
        this.value = value;
    }
}
